home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 13705 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.6 KB  |  34 lines

  1. Newsgroups: comp.lang.c
  2. Path: netcom.com!bnelson
  3. From: bnelson@netcom.com (Bob Nelson)
  4. Subject: Re: Unix/C question
  5. Message-ID: <bnelsonDpKt5x.As2@netcom.com>
  6. Organization: a computer running Linux
  7. X-Newsreader: TIN [version 1.2 PL2]
  8. References: <4k7kvf$gf4@news.one.net>
  9. Date: Tue, 9 Apr 1996 03:46:45 GMT
  10. Sender: bnelson@netcom21.netcom.com
  11.  
  12. On 7 Apr 1996 05:48:31 GMT, Adam Ierymenko wrote:
  13. >> The manual page of the send() function call does not clearly say what the
  14. >> call does when you attempt to send on a non-blocking inet socket and there
  15. >> is "room" to send on the socket for some, but not all, of your data.
  16. >> Like if you try to send 2048 bytes on a socket where there is room to send
  17. >> 1024 bytes, does send() send the first 1024 and return the number of bytes
  18. >> it actually sent (1024), or does it just return -1 and EWOULDBLOCK?
  19. >> BTW, my OS is Linux, but I am trying to write something portable.  Please
  20. >> reply by mail since I usually don't read this group.
  21.  
  22. Who cares about your "operating system"? This is a C language group. If you
  23. want to discuss sockets, EWOULDBLOCK, your "operating system" and
  24. non-Standard functions such as send(), post to the correct newsgroup. By
  25. the way, you need not inform us that "you don't usually read this group."
  26. The content of your post already has already verified that.
  27.  
  28. -- 
  29. =============================================================================
  30.           Bob Nelson: Dallas, Texas, U.S.A.  -  bnelson@netcom.com
  31.       Linux for fun, M$ for $$$...and the NFL for what really counts!
  32. =============================================================================
  33.  
  34.